package com.mmd.manage.dao;

import com.mmd.common.entity.MmdRouteDetail;
import com.mmd.common.mapper.MmdRouteDetailMapper;
import com.mmd.manage.vo.FeeInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface RouteDetailDao extends MmdRouteDetailMapper {
	int insertRouteDetail(MmdRouteDetail detail);
	
	int deleteRouteDetail(@Param("routeNo")String routeNo);
	
	List<MmdRouteDetail> getRouteDetail(@Param("routeNo")String routeNo);
	
	List<FeeInfoVo> computeTotalFee(@Param("weight")Float weight, @Param("areaId")Long areaId, @Param("modeId")Long modeId, @Param("hscode")String hscode);
}
